import java.util.Map;

import com.qq.open.qzone.bean.param.QqAddTopicParamBean;
import com.qq.open.qzone.topic.QqAddTopic;


public class TestAddTopic {

	/**
	 * @param args
	 * @throws Exception 
	 */
	public static void main(String[] args) throws Exception {
		
		
		QqAddTopicParamBean qatb = new QqAddTopicParamBean();
		
		qatb.setAccessToken("138F0112CC9B350B8AE00899CB47D489");
		
		qatb.setOpenId("2D78AAACEAF41021180BEAA2A47871B8");
		
		qatb.setCon("http这是通过javaSDK2.0版发布的说说~");
		
		qatb.setRichtype(2);
		
		qatb.setRichval("http://connect.qq.com/");
		
		qatb.setLbsNm("辽宁大连");
		
		
		QqAddTopic qqAddTopic = new QqAddTopic();
		
		qqAddTopic.addTopic(qatb);
		System.exit(0);
	}
}
